let rout = [
    {
        path: '/home',
        component: () => import('@/views/layout'),
        children: [
            {
                path: '/home',
                meta: {
                    title: '首页',
                    type: 'home',
                },
                component: () => import('@/views/home'),
            },
            //词云
            {
                path: '/wordstyle',
                meta: {
                    title: '词云',
                    type: 'shopping',
                },
                component: () => import('@/views/wordstyle'),
            },

            //树形
            {
                path: '/tree',
                meta: {
                    title: '树形',
                    type: 'table',
                },
                component: () => import('@/views/tree'),
            },

            //练习
            {
                path: '/dailyprctice',
                meta: {
                    title: '富文本编辑器',
                    type: 'tool',
                },
                component: () => import('@/views/dailyprctice'),
            },
            //订单管理
            {
                path: '/order',
                meta: {
                    title: '订单管理',
                    type: 'unordered-list',
                },
                component: () => import('@/views/mannger'),
            },
            //系统管理
            {
                path: '/usermanger',
                key: '1',
                parent: '系统管理',
                meta: {
                    title: '用户管理'
                },
                component: () => import('@/views/systemsettings/usermanger'),
            },
            //用户管理
            {
                path: '/rolemanger',
                key: '1',
                parent: '系统管理',
                meta: {
                    title: '角色管理',
                },
                component: () => import('@/views/systemsettings/rolemanger'),
            },
            //数据字典
            {
                path: '/datadictionary',
                key: '1',
                parent: '系统管理',
                meta: {
                    title: '数据字典',
                },
                component: () => import('@/views/systemsettings/datadictionary'),
            },
        ]
    },
    {
        path: '/login',
        component: () => import('@/views/login'),
    },
    {
        path: '/',
        redirect: '/login'
    },
]






export default rout